<template>
	<div id="back" @click='goback'>
		<div>
			<返回
		</div>
	</div>
</template>

<script>
	export default{
		name:'back',
		props: ['title'],
		methods:{
			goback:function(e){
				this.$router.go(-1);
			}
		}
	}
</script>\
<style lang="scss">
	@import url("../assets/css/index.css");
	#back {
		height: 0.8rem;
		line-height: 0.8rem;
		background: #000;
		color: #fff;
		font-size: 0.28rem;
		padding-left: 0.2rem;
	}
</style>


